package com.axjy.dao;

import com.axjy.pojo.JiHua;
import com.axjy.web.dto.RoleMgnDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by Administrator on 2018/1/29.
 */
public interface JiHuaMapper {
    public List<JiHua> search2(@Param("jhName") String jhName);
    public List<JiHua> searchRows(@Param("offset")Integer offset, @Param("limit") Integer limit, @Param("dto") RoleMgnDto dto);
    public Integer searchTotal(@Param("dto") RoleMgnDto dto);
    public void add2(JiHua jiHua);
    public void update2(JiHua jiHua);
    public void delete2(Integer cjh_id);
}
